﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Legazpi.Payroll.DataAccess.DataObjects;

namespace Legazpi.Payroll.BusinessLogic.Services.Interfaces
{
    public interface IEmployeeAdjustmentService
    {
        EmployeeAdjustment GetById(int id);
        IEnumerable<EmployeeAdjustment> GetAll();
        IEnumerable<EmployeeAdjustment> Get();
        IEnumerable<EmployeeAdjustment> GetAllByEmployeeID(int employeeId);
        IEnumerable<EmployeeAdjustment> GetAllValidCashAdvanceByEmployeeId(int employeeId);
        double GetEmployeeCashAdvanceBalance(int employeeId);                

        void Add(EmployeeAdjustment employeeAdjust);
        void Update(EmployeeAdjustment employeeAdjust);
        void Delete(int id);
        bool Save();
    }
}
